package com.medical.mapper;

import java.util.List;

import com.medical.po.HospitalberthCustom;

/** 
* @author  LTT-AH-ZY
* @date 创建时间：2017年8月15日 下午12:59:59 
* @version 1.0 
* @parameter 参数及其意义
* @since 最早使用该方法/类/接口的JDK版本 
* @since  
* @return  
*/

public interface HospitalberthMapperCustom {
	/**
	 * 自定义SQL操作，查询表hospitalberth，该方法在HospitalberthMapperCustom.xml中实现
	 * @param hospitalberthCustom
	 * @return
	 * @throws Exception
	 */
	public List<HospitalberthCustom> findhospitalberthList(HospitalberthCustom hospitalberthCustom)throws Exception;
	/**
	 * 自定义SQL操作insert，向表hospitalberth插入一条记录，返回插入记录的主键即hospberthid，该方法在HospitalberthMapperCustom.xml中实现
	 * @param hospitalberthCustom
	 * @return
	 * @throws Exception
	 */
	public int insertSelectiveReturnID(HospitalberthCustom hospitalberthCustom)throws Exception;
	/**
	 * 根据传入的科室名，查询床位表床位数量， 该方法在HospitalberthMapperCustom.xml中实现
	 * @param hospitalberthCustom
	 * @return
	 * @throws Exception
	 */
	public int CheckdeptberthEmpty(HospitalberthCustom hospitalberthCustom)throws Exception;
}
